#2018年省赛-填空题 分数
from fractions import Fraction
cur = 1
for i in range(1, 20):
    cur += Fraction(1, 2**i)
print(cur)
